import Vue from 'vue'
import uView from '@/uni_modules/uview-ui'
//地址封装
import baseUrl from './api/api.js'
import App from './App'
import store from './store/index.js' // store
import plugins from './plugins' // plugins
import './permission' // permission

Vue.use(plugins)
Vue.use(uView)
Vue.config.productionTip = false
Vue.prototype.$store = store

App.mpType = 'app'

Vue.prototype.$BASE_URL = baseUrl

const app = new Vue({
	...App,
	store
})

app.$mount()